﻿<%@ Page Language="C#" MasterPageFile="~/ZTMainPage.master" AutoEventWireup="true"
    CodeFile="ZT_Order.aspx.cs" Inherits="ZT_Order" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <link href="css/validator.css" rel="stylesheet" type="text/css" />

    <script src="js/formValidator.js" type="text/javascript" language="javascript"></script>

    <div id="rightb">
        <div class="rgb1">
            <div class="dhb">
                <div class="dhb1">
                    <img src="images/2_12.jpg" width="11" height="11" /><%=modelTemp.title%></div>
                <div class="dhb2">
                    <img src="images/2.jpg" width="11" height="11" /><a href="GN_Travels.aspx">返回列表</a></div>
            </div>
            <div class="listb">
                <div class="wenzi">
                    <div class="btb">
                        <%=modelTemp.title%></div>
                    <div class="fbb">
                        发团周期：<%=modelTemp.startDate%>
                        信息发布：<%=modelTemp.pubDate%></div>
                    <div class="wenzi2">
                        <img src='<%= modelTemp.imagePath%>' width="271" height="196" />
                        <p class="xcb">
                            行程特色介绍:</p>
                        <span class="tsb">
                            <%=modelTemp.featureDes%><br />
                        </span> <p class="yuding">
                            <span class="yuding1">线路价格：<%=GetPrice(modelTemp.price)%>元</span> </p>
                    </div>
                    <div class="wzb2">
  
                        <p>
                            预定姓名：
                            <input id="txtOrderName" type="text" runat="server" class="aa" />
                            <span class="red">*</span>(联系人)&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;性
                            别：
                            <label>
                                <asp:RadioButton ID="radioBoy" Checked="true" runat="server" GroupName="sex" />
                                男</label>
                            <label>
                                <asp:RadioButton ID="radioGril" runat="server" GroupName="sex" />
                                女</label>
                            <br />
                        </p>
                        <p>
                            联系手机：
                            <label>
                                <input type="text" runat="server" id="txtPhone" class="bb" />
                            </label>
                            &nbsp;<span class="red">*</span> &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;
                            &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; 联系电话：
                            <label>
                                <input type="text" runat="server" id="txtTel" class="bb" />
                            </label>
                            <span class="red"></span>
                        </p>
                        <p>
                            预定人数：
                            <label>
                                <input type="text" runat="server" id="txtOrderNum" class="aa" />
                            </label>
                            <span class="red">*</span></p>
                        <p>
                            预定日期：
                            <label>
                            <script language="javascript" type="text/javascript" src="My97DatePicker/WdatePicker.js"></script>
                                <input type="text" id="txtDate" runat="server"  class="Wdate" onClick="WdatePicker()"/>
                            </label>
                        </p>
                        <p>
                            <span style="vertical-align: top">特别要求：</span>
                            <label>
                                <textarea runat="server" id="txtDes" cols="45" rows="10" class="cc"></textarea>
                            </label>
                        </p>
                        <p class="tj">
                            <asp:ImageButton ID="btnSubmit" ImageUrl="images/4_a3.jpg" runat="server" OnClientClick="return jQuery.formValidator.PageIsValid('1');"
                                OnClick="btnSubmit_Click" />
                        </p>
                 
                    </div>
                </div>
                <div class="yema">
                    <span class="yema2">
                        <img src="images/chujing_65.jpg" width="14" height="13" /><a href="#" onclick="window.scrollTo(0,0);">回到顶部</a></span>
                </div>
            </div>
        </div>
    </div>

    <script language="javascript" type="text/javascript">
$(document).ready(function(){
$.formValidator.initConfig({onError:function(msg){alert(msg)}});
      $("#ctl00_ContentPlaceHolder1_txtOrderName").formValidator({onshow:"请输入",onfocus:"不能为空",oncorrect:"合法"}).InputValidator({min:1,onerror:"姓名不能为空,请确认"});
            $("#ctl00_ContentPlaceHolder1_txtOrderNum").formValidator({onshow:"请输入",onfocus:"不能为空",oncorrect:"合法"}).InputValidator({min:1,onerror:"预定数量不能为空,请确认"});
         $("#ctl00_ContentPlaceHolder1_txtPhone").formValidator({onshow:"请输入",onfocus:"不能为空",oncorrect:"合法"}).InputValidator({min:1,onerror:"联系电话不能为空,请确认"});

});
    </script>

</asp:Content>
